import Router from 'koa-router';
import dyOrder from "../../controller/dyOrder";

const router = new Router();

router.prefix('/api/dyorder');

router
    /**
     * @swagger
     * /api/dyorder/getMCToken:
     *   get: 
     *     description: 获取抖店组件token 
     *     tags: [商品] 
     *     summary: "ai接口"
     *     parameters:
    
     *     produces: 
     *       - application/json 
     *     responses: 
     *       200:
     *         description: 获取数据列表 
     * */
  .get('/getMCToken', dyOrder.getMCToken)
 
export default router;